﻿using System;
using System.Collections.Generic;
using MigSharp;

namespace CmsDatabaseMigrations.Migrations
{
    [MigrationExport(Tag = "Updates procedures for blocking media from search engines.", ModuleName = "Media")]
    public class UspMediaBlockFromSearchEngines201210272258 : BatchMigration
    {
        protected override IEnumerable<string> SpFileNames
        {
            get
            {
                yield return "cms_sp_MediaContentAddMany201210272257.sql";
                yield return "cms_sp_MediaContentSave201210272257.sql";
                yield return "cms_sp_MediaFileSelectOne201210272257.sql";
                yield return "cms_sp_MediaContentSelectAll201210272257.sql";
            }
        }

        protected override IEnumerable<Action<IDatabase>> UpActions
        {
            get {return new List<Action<IDatabase>>(); }
        }

        protected override IEnumerable<Action<IDatabase>> DownActions
        {
            get { return new List<Action<IDatabase>>();}
        }
    }
}